from gi.repository import Gtk, GdkPixbuf
from core.icon_manager import IconManager

class GTKWindow(Gtk.Window):
    def __init__(self, settings):
            super().__init__(title="Folder Icon Tool")
                    self.settings = settings
                            self.icon_manager = IconManager(settings)
                                    
                                            # 从GSettings加载窗口尺寸
                                                    size = settings.get_value("window-size")
                                                            self.set_default_size(size[0], size[1])
                                                                    
                                                                            # 构建UI（略，同之前设计）